__author__ = 'alex'

dic1 = {
    'name': 'test'

}
name = 'alex'
def sayhi():
    dic1['name'] = "t1"
    name = "jack"
sayhi()
print dic1,name